#include "Exception.h"

void CException::Translator(const CException& ex) 
{
  ::PyErr_SetString(ex.m_exc, ex.what());
}

void CException::Expose(void)
{
  py::register_exception_translator<CException>(CException::Translator);
}